// 链接跳转指令
App.directive('edUrlJump',['$state', function ($state) {
    return {
    	 restrict: "A",
         link: function( scope, element, attrs ) {
         element.bind( "click", function() {
        	 var bidId = attrs.edUrlJump;
        	 //window.location.href="#/bid/"+bidId+".html"; 
        	 $state.go('bid', {bidId: bidId});
         });
     }
    };
}]);
